package com.example.demo.controller;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "person")
@Configuration
@Data
public class Student {
    private Integer id;
    private String name;
    private Integer age;
}
